/*
 * @Descripttion: 
 * @version: 
 * @Author: Zuo
 * @Date: 2021-07-21 14:25:07
 * @LastEditors: Zuo
 * @LastEditTime: 2021-09-11 10:04:47
 */
import React from 'react';
import { Switch,Route,BrowserRouter} from 'react-router-dom';
import Login from './pages/login';
import Admin from './pages/admin';
class App extends React.Component{
      render(){
          return (
            <BrowserRouter>
               <Switch>
                   <Route exact component={Login}  path="/login"/>
                   <Route component={Admin} path="/"/>
               </Switch>
            </BrowserRouter>
          );
      }
}


export default App;
